package com.real8.romemp.client.ui;

import com.google.gwt.user.client.ui.IsWidget;

public interface FeedView extends IsWidget {
	public interface Presenter {
		/**
		 * On continue pressed.
		 */
		void onContinue();
	}

	void setPresenter(Presenter presenter);

	/**
	 * Hide all individual elements
	 */
	void hideAll();

	/**
	 * Show food available
	 * 
	 * @param localMerchantShips
	 * @param gainedFood
	 * @param foodReserve
	 * @param availableFood
	 */
	void showFoodAvailable(int localMerchantShips, int gainedFood,
			int foodReserve, int availableFood);

	/**
	 * Show that there is sufficient food
	 */
	void showEnoughFood();

	/**
	 * Show that there is a food shortage
	 * 
	 * @param foodShortage
	 */
	void showInsufficientFood(int foodShortage);

	/**
	 * Show extra food cost
	 * 
	 * @param cost
	 */
	void showExtraFoodCost(int cost);

	/**
	 * Show (please) continue message / option
	 */
	void showContinue();
}
